interface Radio {
    switchRadio(trigger: boolean): void
}
interface Battery {
    checkBattery(): void
}

class Car implements Radio {
    switchRadio(trigger: boolean) {
        console.log(trigger)
    }
}

class Cellphone implements Radio, Battery {
    switchRadio(trigger: boolean) {
        console.log(trigger)
    }
    checkBattery() {
        
    }
}